package main

import (
	"fmt"
	beego "github.com/beego/beego/v2/server/web"
	"test/models"
	_ "test/routers"
)

func main() {
	models.ExampleNewClient()
	//存
	models.Client.Set("mahang", "男", 0)
	models.Client.Set("xuxinz", "24", 0)
	models.Client.Set("wangsantao", "20", 0)
	//取
	get := models.Client.Get("xuxinz")
	fmt.Println(get)
	beego.Run()
}
